package com.futvan.z.framework.core;

import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;

import com.futvan.z.system.zorg.z_org;
import com.futvan.z.system.zuser.z_user;
import com.futvan.z.framework.core.z;

public class SuperAction extends SuperZ{

	@Autowired
	protected HttpServletRequest request;
	
	/**
	 * 获取WebApp路径
	 * @return Path
	 * 获取WebApp目录下的图片
	 * 例：String filePath = getWebAppPath()+"img\\zlogin.png";
	 * 
	 */
	protected String getWebAppPath() {
		return request.getSession().getServletContext().getRealPath(""); 
	}

	
}
